$h: 360px;

.banner {
  height: $h;
  margin: 68px auto 0;
  .warp {
    width: 1130px;
    height: $h;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    &:hover {
      button {
        display: block;
      }
    }
    .container {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 10;
    }
    button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      text-align: center;
      font-size: 20px;
      background-color: rgba(0, 0, 0, 0.42);
      color: #ccc;
      z-index: 12;
      position: absolute;
      top: 50%;
      margin-top: -21px;
      display: none;
      &:hover {
        color: orange;
      }
      $pd: 12px;
      &.prev {
        left: $pd;
      }
      &.next {
        right: $pd;
      }
    }
  }
}

.slider {
  width: 1130px;
  height: $h;
  border-radius: 4px;
  a {
    display: block;
  }
  img {
    width: 1130px;
    height: $h;
    object-fit: cover;
  }
}
